package com.topisv.tms.rest.entity.md.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;


/**
 * 美的接口报文的业务数据
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-7      CC            1.0           Create
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class TransferBody {
	
	/**
	 * 有新增的报文类型,需在这里新增
	 * 
	 */
	@XmlElements({
			@XmlElement(name = "annto_order", type = AnntoOrderRequestBody.class),
			@XmlElement(name = "cancel_order", type = CancelOrderRequestBody.class),
			@XmlElement(name = "stock_query", type = StockQueryRequestBody.class),
			@XmlElement(name = "order_confirm", type = OrderConfirmRequestBody.class),
			@XmlElement(name = "route_info", type = RouteInfoRequestBody.class),
			@XmlElement(name = "warehouse_info", type = WarehouseInfoRequestBody.class),
		})
	private TransferBodyContent content;

	public TransferBodyContent getContent() {
		return content;
	}

	public void setContent(TransferBodyContent content) {
		this.content = content;
	}

}
